<template>
  <div class="mg" @click="triggerColl">
    <el-icon size="22"><Expand /></el-icon>
  </div>
</template>

<script setup>
    import {mainStore} from "@/stores"

    let mStore = mainStore()

    let triggerColl = ()=>{
        mStore.$patch((state)=>{
            state.collapseIcon = !state.collapseIcon
        })
    }

</script>

<style lang="scss" scoped>

    .mg{
        margin-right: 20px;
        display: flex;
        align-items: center;
         cursor: pointer;
    }
</style>